
import 'package:imove/model/home_m.dart';
import 'package:imove/net/api_server/all_api.dart';
import 'package:imove/net/net_helper.dart';
import '../result.dart';

class AllServer{
  //查看设备列表
  Future<Result<HomeM>> queryHomeData(
    ) async{ 
    // Map<String, dynamic> params = {'hotelId':hotelId,'list':list};
    Result<HomeM> respond = await NetHelp().get<HomeM>(AllApi.home_api,params: {},withToken: true);
    return  respond;
  }
}
